﻿<phone:PhoneApplicationPage 
    x:Class="WP7Square.Shout"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:local="clr-namespace:WP7Square"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="False">

    <StackPanel x:Name="LayoutRoot" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
        <StackPanel.Background>
            <ImageBrush ImageSource="images/background.png" />
        </StackPanel.Background>
        
        <StackPanel Margin="0 0 0 0" Height ="170">
            <TextBlock x:Name="ApplicationName" Text="Shout!" Style="{StaticResource MainMenuItemTitleStyle}"/>
            <TextBlock x:Name="ExplanationText" 
                           Text="you can leave a note for your friends without having to check in."
                           TextWrapping="Wrap" 
                           Style="{StaticResource DoubleLineListSubTitleTextStyle}" 
                           Margin="10 10 0 0"/>
        </StackPanel>


        <Grid Grid.Row="1">
            <StackPanel>
                <TextBlock Text="Message" Style="{StaticResource PhoneTextBodyTextStyle}" />
                <TextBox x:Name="ShoutTextBox" Height="90" FontSize="30" Text="" Background="#fff8f8f8" />
                <Button x:Name="CheckInButton" Content="Shout!" Height="90" Click="Button_Click"/>
            </StackPanel>
        </Grid>
    </StackPanel>
</phone:PhoneApplicationPage>